﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace XDL.Framework.Weapons
{
    public interface IWeapon
    {
        /// <summary>
        /// Weapon information (damage,...)
        /// </summary>
        WeaponSettings Settings
        {
            get;
        }

        /// <summary>
        /// Fire the weapon.
        /// </summary>
        /// <param name="ownerID">Weapon owner identifier.</param>
        /// <param name="position">Firing position.</param>
        /// <param name="direction">Firing direction.</param>
        void Fire(int ownerID, Vector3 position, Vector3 direction);
    }
}
